home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 4 / FM Towns Free Software Collection 4 - Disc 1.iso / t_os / whisper / source / event.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-19  |  841 b   |  36 lines

  1. /*
  2.     マウス イベント処理ライブラリ ヘッダファイル
  3.  
  4.     1990.9.15    Make By ken
  5. */
  6.  
  7. #define    EVT_NON        0
  8. #define    EVT_ON_MOS    1
  9. #define    EVT_OFF_MOS    2
  10. #define    EVT_CLIP_MOS    3
  11. #define    EVT_SELECT_MOS    4
  12. #define    EVT_DOLACK_MOS    5
  13. #define    EVT_DLSEL_MOS    6
  14. #define    EVT_MOVE_MOS    7
  15. #define    EVT_REP_MOS    8
  16.  
  17. typedef struct {
  18.     int        no;
  19.     short int    flg,level,now;
  20.     short int    x1,y1,x2,y2;
  21.     void    (*proc)();
  22. } EVENT;
  23.  
  24. void    EVT_level_free(int level);
  25. EVENT    *EVT_set_node(int x1,int y1,int x2,int y2,
  26.              int level,void (*proc)(),int no);
  27. void    EVT_sw(int x1,int y1,char *str,
  28.         int chr,int boxcol,
  29.         int level,void (*proc)(),int no);
  30. void    EVT_big_sw(int x1,int y1,char *str,
  31.         int chr,int boxcol,
  32.         int level,void (*proc)(),int no);
  33. void    EVT_loop(int level);
  34. void    EVT_clip_on(EVENT *ep);
  35. void    EVT_clip_off(EVENT *ep);
  36.